import { markRaw } from 'vue'
const resultComps = {}
const files = import.meta.glob('./*.vue', { eager: true }) // 同步加载
Object.keys(files).forEach((fileName) => {
	const name = fileName.replace(/^\.\/(.*)\.\w+$/, '$1');
	resultComps[name] = markRaw(files[fileName].default);
})
export default resultComps;
